package org.csu.agrisupply.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("formorder")
public class FormOrder {
    @TableId(value = "orderId",type= IdType.INPUT)
    private String orderId;
    @TableField(value = "formId")
    private String formId;
    @TableField(value = "buyuserId")
    private String buyuserId;
    @TableField(value = "saleuserId")
    private String saleuserId;
    private int count;
    private float price;
    @TableField(value = "fromAddr")
    private String fromAddress;
    @TableField(value = "toAddr")
    private String toAddress;
}
